﻿#include <exception>
#pragma once
namespace BB
{
	struct Exception : std::exception
	{
		enum ErrorNumber
		{
			BAD_LEXICAL_CAST_CTOR = 0,
			SITE_PATH_ERROR,
			INVALID_HTML_PARSE,
			NO_DATABASE_DIRECTORY
		};
		ErrorNumber err;
		
		Exception(ErrorNumber err) : err(err) {}
	};
}